package com.goatrock.media.thisway.common.model;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Designed for use by MediaMonger
 * @author COLER12
 */
public class ApplicationConfig extends BaseDTO{
    public String[] mediaLocations;
    public String imagesByNameFolder;
    public String scriptsLocation;
    public String shortcutBaseLocation;

    public String[] getMediaLocations() {
        return mediaLocations;
    }

    public void setMediaLocations(String[] mediaLocations) {
        this.mediaLocations = mediaLocations;
    }

    public void addMediaLocation(String newLocation){
        this.mediaLocations = this.addElementToStringArray(newLocation, mediaLocations);
    }

    public String getImagesByNameFolder() {
        return imagesByNameFolder;
    }

    public void setImagesByNameFolder(String imagesByNameFolder) {
        this.imagesByNameFolder = imagesByNameFolder;
    }

    public void removeMediaLocation(int index){
        this.mediaLocations = this.removeElementFromStringArray(index, mediaLocations);
    }

    public String getShortcutBaseLocation() {
        return shortcutBaseLocation;
    }

    public void setShortcutBaseLocation(String shortcutBaseLocation) {
        this.shortcutBaseLocation = shortcutBaseLocation;
    }

    public String getScriptsLocation() {
        return scriptsLocation;
    }

    public void setScriptsLocation(String scriptsLocation) {
        this.scriptsLocation = scriptsLocation;
    }

    
}
